package com.kx.yooli.kx.wechat.po.message;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Date;

/**
 * @author john_sqwen-childe.wen
 * date 2024/4/8
 * PROJECT_NAME wechat
 * description create WechatDrainsInfo by john_sqwen
 * and  value is
 */
public class WechatDrainsInfo {
    private final Logger log = LoggerFactory.getLogger(WechatDrainsInfo.class);
    /**
     *  主键,所属表字段为wechat_drains_info.id
     */
    private Integer id;

    /**
     *  微信号,所属表字段为wechat_drains_info.open_id
     */
    private String openId;

    /**
     *  姓名,所属表字段为wechat_drains_info.name
     */
    private String name;

    /**
     *  电话号码,所属表字段为wechat_drains_info.mobile_phone
     */
    private String mobilePhone;

    /**
     *  身份证,所属表字段为wechat_drains_info.card_id
     */
    private String cardId;

    /**
     *  绑定关联号码,所属表字段为wechat_drains_info.parent_code
     */
    private String parentCode;

    /**
     *  绑定状态0：未绑定，1绑定,所属表字段为wechat_drains_info.status
     */
    private Integer status;

    /**
     *  目标用户优惠券面值,所属表字段为wechat_drains_info.goal_coupon
     */
    private Double goalCoupon;

    /**
     *  种子用户优惠券,所属表字段为wechat_drains_info.torrent_coupon
     */
    private Double torrentCoupon;

    /**
     *  ,所属表字段为wechat_drains_info.create_time
     */
    private Date createTime;

    /**
     *  构造查询条件,wechat_drains_info
     */
    public WechatDrainsInfo(Integer id, String openId, String name, String mobilePhone, String cardId, String parentCode, Integer status, Double goalCoupon, Double torrentCoupon, Date createTime) {
        this.id = id;
        this.openId = openId;
        this.name = name;
        this.mobilePhone = mobilePhone;
        this.cardId = cardId;
        this.parentCode = parentCode;
        this.status = status;
        this.goalCoupon = goalCoupon;
        this.torrentCoupon = torrentCoupon;
        this.createTime = createTime;
    }

    /**
     *  构造查询条件,wechat_drains_info
     */
    public WechatDrainsInfo() {
        super();
    }

    /**
     * 获取 主键 字段:wechat_drains_info.id
     *
     * @return wechat_drains_info.id, 主键
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置 主键 字段:wechat_drains_info.id
     *
     * @param id wechat_drains_info.id, 主键
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取 微信号 字段:wechat_drains_info.open_id
     *
     * @return wechat_drains_info.open_id, 微信号
     */
    public String getOpenId() {
        return openId;
    }

    /**
     * 设置 微信号 字段:wechat_drains_info.open_id
     *
     * @param openId wechat_drains_info.open_id, 微信号
     */
    public void setOpenId(String openId) {
        this.openId = openId == null ? null : openId.trim();
    }

    /**
     * 获取 姓名 字段:wechat_drains_info.name
     *
     * @return wechat_drains_info.name, 姓名
     */
    public String getName() {
        return name;
    }

    /**
     * 设置 姓名 字段:wechat_drains_info.name
     *
     * @param name wechat_drains_info.name, 姓名
     */
    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    /**
     * 获取 电话号码 字段:wechat_drains_info.mobile_phone
     *
     * @return wechat_drains_info.mobile_phone, 电话号码
     */
    public String getMobilePhone() {
        return mobilePhone;
    }

    /**
     * 设置 电话号码 字段:wechat_drains_info.mobile_phone
     *
     * @param mobilePhone wechat_drains_info.mobile_phone, 电话号码
     */
    public void setMobilePhone(String mobilePhone) {
        this.mobilePhone = mobilePhone == null ? null : mobilePhone.trim();
    }

    /**
     * 获取 身份证 字段:wechat_drains_info.card_id
     *
     * @return wechat_drains_info.card_id, 身份证
     */
    public String getCardId() {
        return cardId;
    }

    /**
     * 设置 身份证 字段:wechat_drains_info.card_id
     *
     * @param cardId wechat_drains_info.card_id, 身份证
     */
    public void setCardId(String cardId) {
        this.cardId = cardId == null ? null : cardId.trim();
    }

    /**
     * 获取 绑定关联号码 字段:wechat_drains_info.parent_code
     *
     * @return wechat_drains_info.parent_code, 绑定关联号码
     */
    public String getParentCode() {
        return parentCode;
    }

    /**
     * 设置 绑定关联号码 字段:wechat_drains_info.parent_code
     *
     * @param parentCode wechat_drains_info.parent_code, 绑定关联号码
     */
    public void setParentCode(String parentCode) {
        this.parentCode = parentCode == null ? null : parentCode.trim();
    }

    /**
     * 获取 绑定状态0：未绑定，1绑定 字段:wechat_drains_info.status
     *
     * @return wechat_drains_info.status, 绑定状态0：未绑定，1绑定
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * 设置 绑定状态0：未绑定，1绑定 字段:wechat_drains_info.status
     *
     * @param status wechat_drains_info.status, 绑定状态0：未绑定，1绑定
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * 获取 目标用户优惠券面值 字段:wechat_drains_info.goal_coupon
     *
     * @return wechat_drains_info.goal_coupon, 目标用户优惠券面值
     */
    public Double getGoalCoupon() {
        return goalCoupon;
    }

    /**
     * 设置 目标用户优惠券面值 字段:wechat_drains_info.goal_coupon
     *
     * @param goalCoupon wechat_drains_info.goal_coupon, 目标用户优惠券面值
     */
    public void setGoalCoupon(Double goalCoupon) {
        this.goalCoupon = goalCoupon;
    }

    /**
     * 获取 种子用户优惠券 字段:wechat_drains_info.torrent_coupon
     *
     * @return wechat_drains_info.torrent_coupon, 种子用户优惠券
     */
    public Double getTorrentCoupon() {
        return torrentCoupon;
    }

    /**
     * 设置 种子用户优惠券 字段:wechat_drains_info.torrent_coupon
     *
     * @param torrentCoupon wechat_drains_info.torrent_coupon, 种子用户优惠券
     */
    public void setTorrentCoupon(Double torrentCoupon) {
        this.torrentCoupon = torrentCoupon;
    }

    /**
     * 获取  字段:wechat_drains_info.create_time
     *
     * @return wechat_drains_info.create_time,
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置  字段:wechat_drains_info.create_time
     *
     * @param createTime wechat_drains_info.create_time,
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
